package command

import (
	"strings"
)

func InputCommand(command string) {
	commandResolve(command)
}

func commandResolve(command string) {
	command = strings.TrimSpace(command)
	commandArgs := strings.Split(command, " ")
	switch commandArgs[0] {
	case "push":
		filePush(commandArgs[1])
	}
}
